package com.ruoyi.yipaiju.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.yipaiju.mapper.GroupForeclosedHouseBookingorderMapper;
import com.ruoyi.yipaiju.domain.GroupForeclosedHouseBookingorder;
import com.ruoyi.yipaiju.service.IGroupForeclosedHouseBookingorderService;

/**
 * fo_group_foreclosed_house_bookingorderService业务层处理
 * 
 * @author liuwp
 * @date 2023-03-01
 */
@Service
public class GroupForeclosedHouseBookingorderServiceImpl implements IGroupForeclosedHouseBookingorderService 
{
    @Autowired
    private GroupForeclosedHouseBookingorderMapper groupForeclosedHouseBookingorderMapper;

    /**
     * 查询fo_group_foreclosed_house_bookingorder
     * 
     * @param id fo_group_foreclosed_house_bookingorder主键
     * @return fo_group_foreclosed_house_bookingorder
     */
    @Override
    public GroupForeclosedHouseBookingorder selectGroupForeclosedHouseBookingorderById(Long id)
    {
        return groupForeclosedHouseBookingorderMapper.selectGroupForeclosedHouseBookingorderById(id);
    }

    /**
     * 查询fo_group_foreclosed_house_bookingorder列表
     * 
     * @param groupForeclosedHouseBookingorder fo_group_foreclosed_house_bookingorder
     * @return fo_group_foreclosed_house_bookingorder
     */
    @Override
    public List<GroupForeclosedHouseBookingorder> selectGroupForeclosedHouseBookingorderList(GroupForeclosedHouseBookingorder groupForeclosedHouseBookingorder)
    {
        return groupForeclosedHouseBookingorderMapper.selectGroupForeclosedHouseBookingorderList(groupForeclosedHouseBookingorder);
    }

    /**
     * 根据业务主键查询一条记录：fo_group_foreclosed_house_bookingorder
     *
     * @param groupForeclosedHouseBookingorder fo_group_foreclosed_house_bookingorder
     * @return fo_group_foreclosed_house_bookingorder
     */
    @Override
    public GroupForeclosedHouseBookingorder selectOneGroupForeclosedHouseBookingorder(GroupForeclosedHouseBookingorder groupForeclosedHouseBookingorder)
    {
        return groupForeclosedHouseBookingorderMapper.selectOneGroupForeclosedHouseBookingorder(groupForeclosedHouseBookingorder);
    }

    /**
     * 新增fo_group_foreclosed_house_bookingorder
     * 
     * @param groupForeclosedHouseBookingorder fo_group_foreclosed_house_bookingorder
     * @return 结果
     */
    @Override
    public int insertGroupForeclosedHouseBookingorder(GroupForeclosedHouseBookingorder groupForeclosedHouseBookingorder)
    {
        return groupForeclosedHouseBookingorderMapper.insertGroupForeclosedHouseBookingorder(groupForeclosedHouseBookingorder);
    }

    /**
     * 修改fo_group_foreclosed_house_bookingorder
     * 
     * @param groupForeclosedHouseBookingorder fo_group_foreclosed_house_bookingorder
     * @return 结果
     */
    @Override
    public int updateGroupForeclosedHouseBookingorder(GroupForeclosedHouseBookingorder groupForeclosedHouseBookingorder)
    {
        return groupForeclosedHouseBookingorderMapper.updateGroupForeclosedHouseBookingorder(groupForeclosedHouseBookingorder);
    }

    @Override
    public int updateGroupForeclosedHouseBookingorderCondition(GroupForeclosedHouseBookingorder groupForeclosedHouseBookingorder, GroupForeclosedHouseBookingorder groupForeclosedHouseBookingorderCondition)
    {
        return groupForeclosedHouseBookingorderMapper.updateGroupForeclosedHouseBookingorderCondition(groupForeclosedHouseBookingorder, groupForeclosedHouseBookingorderCondition);
    }

    /**
     * 批量删除fo_group_foreclosed_house_bookingorder
     * 
     * @param ids 需要删除的fo_group_foreclosed_house_bookingorder主键
     * @return 结果
     */
    @Override
    public int deleteGroupForeclosedHouseBookingorderByIds(Long[] ids)
    {
        return groupForeclosedHouseBookingorderMapper.deleteGroupForeclosedHouseBookingorderByIds(ids);
    }

    /**
     * 删除fo_group_foreclosed_house_bookingorder信息
     * 
     * @param id fo_group_foreclosed_house_bookingorder主键
     * @return 结果
     */
    @Override
    public int deleteGroupForeclosedHouseBookingorderById(Long id)
    {
        return groupForeclosedHouseBookingorderMapper.deleteGroupForeclosedHouseBookingorderById(id);
    }

    /**
     * 条件删除fo_group_foreclosed_house_bookingorder
     *
     * @param groupForeclosedHouseBookingorder fo_group_foreclosed_house_bookingorder
     * @return 结果
     */
    @Override
    public int deleteGroupForeclosedHouseBookingorderByCondition(GroupForeclosedHouseBookingorder groupForeclosedHouseBookingorder)
    {
        return groupForeclosedHouseBookingorderMapper.deleteGroupForeclosedHouseBookingorderByCondition(groupForeclosedHouseBookingorder);
    }

}
